from django.conf.urls import url

from . import views
urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^(?P<discussionthread_id>[0-9]+)/$', views.detail, name='detail'),
	url(r'^(?P<discussionthread_id>[0-9]+)/submit/$', views.submit, name='submit'),
	url(r'^(?P<user_id>[0-9]+)/ask/$', views.ask, name='ask'),
	url(r'^(?P<user_id>[0-9]+)/postdiscussion/$', views.postdiscussion, name='postdiscussion'),
	url(r'^register/$', views.registeruser, name='registeruser'),
	url(r'^login/$', views.loginuser, name='loginuser'),
	url(r'^feedback/$', views.feedback, name='feedback'),
	url(r'^thanks/$', views.thanks, name='thanks'),
	url(r'^success/$', views.success, name='success'),
]